#ifndef	__ENTITY_HPP__
#define __ENTITY_HPP__

#include <irrlicht.h>

namespace graphicalactors
{
    class GraphicalEntity
	{
        irr::scene::ISceneNode* m_node;        
	public:
		
		GraphicalEntity();
		~GraphicalEntity();

        void init( irr::video::IVideoDriver * _driver, irr::scene::ISceneManager * _sceneManager, const irr::core::vector3df& _position, const std::string& _meshName, const std::string& _textureName );
        inline void setPosition(const irr::core::vector3df& _position)
        {
            if ( m_node )
            {
                m_node->setPosition(_position);
            }
        }
        inline irr::core::vector3df getPosition()
        {
            if ( m_node )
            {
                return m_node->getPosition();
            }
            else
            {
                return irr::core::vector3df();
            }
        }

	};
}

#endif	//	__ENTITY_HPP__